
const path = ['售价管理', '售价查询'];
const filterOption = {
  name:'',
  depict:'',
};
const filterOption2 = {
  items: [{
      label: "销售分类",
      type: "dropdown",
      data: [],
      placeholder: "请选择",
      value: undefined,
      key: "origin"
    },
    {
      label: "系列",
      type: "dropdown",
      data: [],
      placeholder: "请选择",
      value: undefined,
      key: "series"
    },
    {
      label: "款式名称",
      type: "dropdown",
      data: [],
      placeholder: "请选择",
      value: undefined,
      key: "modelName"
    },
  ],

};
const filterOption3 = {
	/* 
	  手寸范围  saleStyleHandRanges
	  钻重范围  saleStyleInlaiedScoopRanges
	*/
	items: [{
		label: "主石形状",
		type: "dropdown",
		data: undefined,
		placeholder: "请选择",
		value: undefined,
		key: "theMainStoneShape",
		disabled: true,
	},
	{
		label: "主石材质",
		type: "dropdown",
		data: undefined,
		placeholder: "请选择",
		value: undefined,
		key: "mainStone1Material",
		disabled: true,
	},
	{
		label: "主石外观",
		type: "dropdown",
		data: undefined,
		placeholder: "请选择",
		value: undefined,
		key: "theMainStoneAppearance",
		disabled: true,
	},
	{
		label: "材质",
		type: "dropdown",
		data: undefined,
		placeholder: "请选择",
		value: undefined,
		key: "bracketMaterial",
		required: true,
	},
	{
		label: "手寸",
		type: "dropdown",
		data: undefined,
		placeholder: "请选择",
		value: undefined,
		key: "handInch",
		required: true,
	},
	{
		label: "净度",
		type: "dropdown",
		data: undefined,
		placeholder: "请选择",
		value: undefined,
		key: "cleanliness"
	},
	{
		label: "对称",
		type: "dropdown",
		data: undefined,
		placeholder: "请选择",
		value: undefined,
		key: "symmetric"
	},
	{
		label: "抛光",
		type: "dropdown",
		data: undefined,
		placeholder: "请选择",
		value: undefined,
		key: "polishing"
	},
	{
		label: "链长",
		type: "dropdown",
		data: undefined,
		placeholder: "请选择",
		value: undefined,
		key: "startChainLength"
	},
	{
		label: "颜色",
		type: "dropdown",
		data: undefined,
		placeholder: "请选择",
		value: undefined,
		key: "color"
	},
	{
		label: "切工",
		type: "dropdown",
		data: undefined,
		placeholder: "请选择",
		value: undefined,
		key: "cut"
	},
	{
		label: "特殊定制要求",
		type: "dropdown",
		data: undefined,
		placeholder: "请选择",
		value: undefined,
		key: "specialClaim"
	}],
	btnGroup: [{
			label: '查询',
			type: 'search'
		},
		{
			label: '清空',
			type: 'clear'
		}
	]
};

const pager = {
  params: {
    pageIndex: 1,
    pageSize: 10,
  },
  pageTotal: 0,
  pageSizeArr: [10, 20, 30, 40]
};
const searchFromData2 = {
  origin: undefined,
  series: undefined,
  modelName: undefined,
};
const sliderSelect = {
	weight:{
		value:0,
		option:[],
		sliderVal:[0,0],
	},
	/*size:{
		value:20,
		option:[],
		sliderVal:[0,0],
	}*/
}
let Model = {
  data() {
    return {
		Model: {
			path: path,
			pager: pager,
			filterOption: filterOption,
			filterOption2: filterOption2,
			filterOption3:filterOption3,
			deliveryRadio: 0,
			flag:true,
			deliveryDatePick: '',
			barCodeRadio:'1',
			addProduct: false,
			chooseWord:true,
			chooseInput:false,
			addNewteam:false,
			dialogTableData: [],
			TableSelectData:[],
			defaultSearchFromData2: searchFromData2,
			dialogTableSelect: undefined,
			chooseTeam:1,
			TeamName:[],
			sliderSelect,
		}
    }
  }
}
export default Model;
